package com.wn.mapper;

import com.wn.common.pojo.TravelRoute;

import java.util.List;

public interface TravelRouteMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TravelRoute record);

    int insertSelective(TravelRoute record);

    TravelRoute selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TravelRoute record);

    int updateByPrimaryKey(TravelRoute record);

    //高阶搜索
    List<TravelRoute> superSearch(String superSearchKeyWord);

    //列表查询
    List<TravelRoute> queryTravelRouteList();


    int deleteTravelRouteListById(TravelRoute travelRoute);

    int updateNewsinfo(TravelRoute travelRoute);

    TravelRoute findTravelRouteByName(String routeEndPlace);

    List<TravelRoute> findTravelRouteListByName(String routeEndPlace);

    TravelRoute findTraveRouteById(Integer id);
}
